// vite.config.ts
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///C:/Users/86167/Desktop/delivery-management-system/Delivery-management-system/node_modules/.pnpm/vite@5.4.10_@types+node@22.9.0_less@4.2.0/node_modules/vite/dist/node/index.js";
import vue from "file:///C:/Users/86167/Desktop/delivery-management-system/Delivery-management-system/node_modules/.pnpm/@vitejs+plugin-vue@5.1.4_vite@5.4.10_@types+node@22.9.0_less@4.2.0__vue@3.5.12_typescript@5.6.3_/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import vueDevTools from "file:///C:/Users/86167/Desktop/delivery-management-system/Delivery-management-system/node_modules/.pnpm/vite-plugin-vue-devtools@7.6.3_rollup@4.24.4_vite@5.4.10_@types+node@22.9.0_less@4.2.0__vue@3.5.12_typescript@5.6.3_/node_modules/vite-plugin-vue-devtools/dist/vite.mjs";
import Icons from "file:///C:/Users/86167/Desktop/delivery-management-system/Delivery-management-system/node_modules/.pnpm/unplugin-icons@0.20.1_@vue+compiler-sfc@3.5.12/node_modules/unplugin-icons/dist/vite.js";
var __vite_injected_original_import_meta_url = "file:///C:/Users/86167/Desktop/delivery-management-system/Delivery-management-system/vite.config.ts";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    vueDevTools(),
    Icons({
      autoInstall: true
    })
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  server: {
    proxy: {
      // 选项中的字符串必须是以斜杠（/）开始的
      "/api": {
        target: "http://127.0.0.1:5000",
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/api/, "")
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFw4Nj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